#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2011 TUBITAK/BILGEM
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get 

def build():
    pass

def install():
    pisitools.dodir ("/usr/bin")
    pisitools.dodoc ("CHANGELOG.txt","DEVELOPING.txt","README.txt","TODO.txt") 
    pisitools.dodir ("/usr/lib/python2.7/site-packages/whyteboard")
    shelltools.copy("images","%s/usr/lib/python2.7/site-packages/whyteboard/" % get.installDIR())
    shelltools.copy("locale","%s/usr/lib/python2.7/site-packages/whyteboard/" % get.installDIR())
    shelltools.copy("whyteboard","%s/usr/lib/python2.7/site-packages/whyteboard/" % get.installDIR())
    shelltools.copy("whyteboard-help","%s/usr/lib/python2.7/site-packages/whyteboard/" % get.installDIR())
    shelltools.copy("whyteboard.py","%s/usr/lib/python2.7/site-packages/whyteboard/" % get.installDIR())
